﻿namespace FFF.Test.Entity.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 标准角色用户中间表
    /// </summary>
	[Table("FW_StandardRole2USer")]
    [Display(Name = "标准角色用户中间表", Description = "标准角色用户中间表")]
    [AutoMapFrom(typeof(ViewFWStandardRole2USer))] 
    public partial class FWStandardRole2USerEntity : BaseEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("StandardRole2USerGUID")]
        [Display(Name = "标准角色用户中间表主键", Description = "标准角色用户中间表主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 标准角色GUID
        /// </summary>
		[Display(Name = "标准角色GUID", Description = "标准角色GUID")]
        [Column("StandardRoleGUID")]
        public Guid? StandardRoleGUID { get; set; }   

		/// <summary>
        /// 用户GUID
        /// </summary>
		[Display(Name = "用户GUID", Description = "用户GUID")]
        [Column("UserGUID")]
        public Guid? UserGUID { get; set; }   
    }
}
